.more {
  width: 24px;
  height: 24px;
  background: url('../../../images/more.png') no-repeat;
  background-size: contain;
}
.content {
  // width: ;
  box-sizing: border-box;
  // padding: 6px 16px;
  .box {
    // width: 100;
    height: 137px;
    background: url('../../../images/union_bg2.png') no-repeat;
    background-size: cover;
    // opacity: 0.3;
    border-radius: 12px;
    margin-bottom: 16px;
    color: #fff;
    .tit {
      padding: 16px 16px 8px 16px;
      display: flex;
      align-items: center;
      font-size: 12px;
      .icon {
        width: 24px;
        height: 24px;
        background: url('../../../images/coin_icon.png') no-repeat;
        background-size: contain;
        background-position: center;
      }
      span {
        padding-left: 4px;
        // opacity: .6;
        color: var(--main-text-color06);
      }
    }
    .num {
      font-weight: 500;
      text-align: center;
      font-size: 32px;
      line-height: 45px;
      color: var(--main-text-color);
    }
    .tips {
      text-align: center;
      opacity: 0.6;
      font-size: 12px;
      padding-top: 8px;
    }
    &.money {
      background: url('../../../images/union_bg1.png') no-repeat;
      background-size: cover;
      .tit {
        padding-bottom: 16px;
      }
    }
  }

  .btn_group {
    position: absolute;
    width: 100%;
    left: 0;
    box-sizing: border-box;
    padding: 0 33px;
    bottom: 52px;
    display: flex;
    justify-content: space-between;
    .btn {
      font-weight: 500;
      border-radius: 12px;
      width: 112px;
      height: 48px;
      font-size: 14px;
      text-align: center;
      line-height: 48px;
      background: var(--button-main-bg);
      color: var(--button-main-color);
      &.turn {
        color: #fff;
        background: #ffac30;
      }
    }
  }
}
.modal_content {
  position: fixed;
  z-index: 100;
  height: 168px;
  width: 282px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--modal-mian-bg2);
  border-radius: 12px;
  // background-size: contain;
  text-align: center;
  box-sizing: border-box;
  padding: 22px 20px 0 20px;
  .action {
    display: flex;
    justify-content: space-between;
    .btn {
      width: 111px;
      height: 44px;
      font-size: 14px;
      text-align: center;
      line-height: 44px;
      font-weight: 500;
      border-radius: 8px;
      &.cancel_btn {
        background: var(--button-sub-main-bg);
        color: var(--button-sub-main-color);
      }
      &.confirm_btn {
        color: var(--button-main-color);
        background: var(--button-main-bg);
      }
    }
  }
  .tit {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    color: var(--main-text-color);
  }
  .info {
    line-height: 16px;
    margin: 12px 0 18px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
  }
  .turn_input {
    position: relative;

    input {
      text-align: center;
      color: var(--main-text-color);
      font-weight: 500;
      font-size: 28px;
      line-height: 39px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    margin-bottom: 24px;
    .icon {
      position: absolute;
      right: -6px;
      bottom: 5px;
      width: 22px;
      height: 16px;
      background: var(--currency-icon-img) no-repeat;
      background-size: contain;
    }
  }

  &.modal2 {
    width: 282px;
    height: 217px;
    background: var(--modal-mian-bg2);
    .info {
      margin: 0 0 8px 0;
    }
    .tit {
      position: relative;
      span {
        position: absolute;
        right: 0;
        font-size: 11px;
        color: #8aeb8d;
        padding-left: 34px;
        display: inline-block;
        transform: scale(0.98);
      }
    }
    .sub_tit {
      color: var(--main-text-color);
      padding-top: 8px;
      font-size: 12px;
    }
    .money {
      font-weight: 500;
      color: var(--main-text-color);
      line-height: 39px;
      font-size: 28px;
      span {
        font-size: 16px;
      }
    }
    .fee_tips {
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      p {
        padding-bottom: 4px;
        line-height: 15px;
        font-size: 11px;
        display: flex;
        justify-content: space-between;
      }
    }
  }
  &.turn_modal {
    .sub_tit {
      padding-top: 22px;
    }
  }
}
.ami {
  // right: 20px!important;
  .adm-popover-inner {
    // width: 136px;
    // height: 104px;
    background: #232733;
    .con_ami {
      padding: 20px;
      box-sizing: border-box;
      p {
        font-size: 16px;
        color: var(--main-text-color);
        font-weight: 400;
        padding-bottom: 20px;
        &:last-of-type {
          padding-bottom: 0;
        }
      }
    }
  }
}
